#ifndef WORKTHREAD_H
#define WORKTHREAD_H

#include <QThread>
#include <QImage>
#include <QPixmap>
#include <opencv2/opencv.hpp>


using namespace std;
using namespace cv;

class ImageCapture: public QThread
{
    Q_OBJECT
public:
    ImageCapture(QObject *parent);

protected:
    void run();

private:




signals:
    //void display(QPixmap pixmap);
    void display(cv::Mat frame);


};

#endif // WORKTHREAD_H
